const client = resolve =>
    require(['common/src/views/faceIdentify/client'], resolve);
const collect = resolve =>
    require(['common/src/views/faceIdentify/collect'], resolve);
const layout = resolve => require(['common/src/views/layout'], resolve);

const faceIdentify = {
    path: '/faceIdentify',
    name: 'faceIdentify',
    component: layout,
    children: [
        {
            path: '/client',
            name: 'client',
            component: client,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/collect',
            name: 'collect',
            component: collect,
            meta: {
                nokeepalive: true
            }
        }
    ]
};

export default faceIdentify;